import request from '@/util/request'
const BASE_URL = 'bcs/web/drugfeeana'

class api {
  static getKc24T(page, queryVo, order) {
    queryVo.order = order
    return request.post(`${BASE_URL}/test2?_pageNo=${page._pageNo}&_pageSize=${page._pageSize}`, queryVo)
  }

  static getRegnT(page, queryVo, order) {
    queryVo.order = order
    return request.post(`${BASE_URL}/test3?_pageNo=${page._pageNo}&_pageSize=${page._pageSize}`, queryVo)
  }

  static getHospLvT(page, queryVo, order) {
    queryVo.order = order
    return request.post(`${BASE_URL}/test4?_pageNo=${page._pageNo}&_pageSize=${page._pageSize}`, queryVo)
  }


  static getFixmedinsT(page, queryVo, order) {
    queryVo.order = order
    return request.post(`${BASE_URL}/test5?_pageNo=${page._pageNo}&_pageSize=${page._pageSize}`, queryVo)
  }






  static export(queryVo, order) {
    queryVo.order = order
    return request.post(`${BASE_URL}/export`, queryVo, { responseType: 'blob' })
  }
}

export default api
